package com.ehome.poct.base.api.feign;

import com.ehome.poct.base.api.dto.doctor.ClinicDTO;
import com.ehome.poct.base.api.vo.clinic.PayOrderFrontLimitTermClinicVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;


/**
 * 可使用支付前置的诊所配置表控制器
 *
 * @author laobai
 * @Date 2022-10-22 16:01
 */
@FeignClient(value = "${service.poct-base:}${service.suffix.poct-base:}", contextId = "orderfronttermclinic")
public interface PayOrderFrontLimitTermClinicFeginClient {
    /**
     * 校验设诊所是否具有支付前置功能权限
     * @param id 诊所ID
     * @return TRUE具有支付前置权限 false 不具有
     */
    @GetMapping("/api/orderfrontlimitclinic/{id}")
    PayOrderFrontLimitTermClinicVO getById(@PathVariable(value = "id")Long id);
}
